<{Tinclude "commom/admin_header"}>
   <{Tinclude"tenantcommom/tenant_inner_header"}>
    <{Tinclude"tenantcommom/tenant_left_menu"}>
    <section id="main-content">
          <section class="wrapper">
            <h3><i class="fa fa-angle-right"></i> 房租</h3>
              <div class="row mt">
                  <div class="col-lg-12 jpbox">
                   
                   
                  </div>
                  <div class="col-lg-12">
                      <div class="row">
                         
                          
<{if isset($list)&&$list}>
<{foreach $list as $v}>
<div class="col-lg-4 col-md-4 col-sm-4 mb">
<div class="steps pn">
<label>房间:<{$v["roominfo"]["build_name"]}>,<{$v["roominfo"]["layer_id"]}>楼,<{$v["room_no"]}>号,房东:<{$v["roominfo"]["admin_name"]}></label>
<label><{$v["year"]}>年<{$v["month"]}>月-<{echo date("Y年m月d日",$v["effective_time"]);}></label>
<label>租金:<{$v["l_rent"]}>元,实缴:<{$v["r_rent"]}>元</label>
<{if $v["l_dian_price"]>0}><label>电费:<{$v["l_dian_price"]}>元,实缴:<{$v["r_dian_price"]}>元</label><{else}><label>电费:暂无</label><{/if}>
<{if $v["l_water_price"]>0}><label>水费:<{$v["l_water_price"]}>元,实缴:<{$v["r_water_price"]}>元</label><{else}><label>水费:暂无</label><{/if}>
<{if $v["is_deposit"]>0}><label>押金:<{$v["roomreluser"]["deposit"]}>元,实缴:<{if $v["roomreluser"]["deposit_pay_status"]==1}><{$v["roomreluser"]["deposit"]}><{else}>0<{/if}>元</label><{else}><label>无</label><{/if}>
<label>总金额:<{$v["l_total"]}>元,实缴:<{$v["r_total"]}>元</label>
<{if $v["is_payfinsh"]==0}><a href="<{echo Common::RewriteUrl("Tenantadmin","fangzupay","&rent_id={$v["id"]}");}>" class="gopay">去支付</a>
<{else}>
<div class="gopay">已交租</div>
<{/if}>
</div>
</div>

<{/foreach}>
 <div class="col-md-12 text-center">
 <?php Temp::Tinclude("commom/pager");?>
 </div>
<{else}>
 <div class="col-md-12 col-xs-12">
 <h4 class="text-center">数据为空</h4>
</div>
<{/if}>
                          
                          
                          
                          
                          
                      </div>
                  </div>
                  
              </div>
          </section>
    </section>
    

        <{Tinclude"commom/admin_footer"}>